<html>
<!--
		2018级8班音校老师和学生名言 - xhemj
		制作：Xhemj
		感谢：布莱恪（BlackToy）、夏恪（Oranjezelv）、IYAMAYA、码云Gitee
		©2020 Xhemj
-->

<head>
	<script>var _hmt = _hmt || [];(function() {var hm = document.createElement("script");hm.src = "https://hm.baidu.com/hm.js?0673dbbe4e6ea51a92a74e3ba2bc051b";var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s);})();</script>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="icon" href="https://xhemj.gitee.io/logo.svg" type="image/x-icon" />
	<link rel="shortcut icon" href="https://xhemj.gitee.io/logo.svg" type="image/x-icon" />
	<meta charset="UTF-8">
	<meta name="description" content="2018级8班音校老师名言收录了厦门市音乐学校2018级8班老师的名言字，快来看看他们的的名言是怎样的吧！" />
	<title>2018级8班音校老师和学生名言 - xhemj</title>
	<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/xhemj/xhemj.github.io@master/mingyan/osc-bullet.min.css">
	<script src="https://cdn.staticfile.org/jquery/3.5.1/jquery.min.js"></script>
	<script src="https://cdn.jsdelivr.net/gh/xhemj/xhemj.github.io@master/mingyan/osc-bullet.min.js"></script>
	<script src="https://cdn.jsdelivr.net/gh/mumuy/browser@master/Browser.js"></script>
	<script src="https://xhemj.js.org/page/mingyan/mingyan.js"></script>
</head>

<body>
	<script>
var info = new Browser();
    if(info.device!='Mobile'){
        var speed = Math.random()*(16-14)+14;
        var wait = "400";
    }else{
        var speed = Math.random()*(9-7)+7;
        var wait = "700";
    }

      //弹幕
var bulletContentArr = mingyan  
    $(function () {
     var bulletContainer = $('body');
      var bulletTimer = null;
      function addNext () {
        var content = bulletContentArr[Math.floor((Math.random() * bulletContentArr.length))];
        if (content) {
          var bgColor = bulletColorArr[Math.floor((Math.random() * bulletColorArr.length))] || bulletColorArr[0];
          bulletContainer.bullet({
            //avatar: 'https://static.oschina.net/new-osc/img/portrait.gif',
            content: content,
            url: '',
            color: '',
            bgColor: bgColor,
            speed: speed,
            //safeTop: 150,
            //safeBottom: 20,
            hasClose: true
          });

        }
        bulletTimer = setTimeout(addNext, wait);
      }
      addNext();

      // 清屏弹幕
      $('.btn-clear').on('click', function () {
        bulletContainer.bullet.clear();

        if (bulletTimer) {
          clearTimeout(bulletTimer);
          bulletTimer = null;
        }
      });
    });
	</script>
</body>

</html>
